<?php

$user='asud_server';
$password = '1234';

try 
{
    $dbh = new PDO('mysql:host=localhost;dbname=asud', $user, $password);
    $dbh->query('SET CHARACTER SET utf8');
} 
catch (PDOException $e) 
{
    print "Error!: " . $e->getMessage() . "<br/>";
    die();
}